#pragma once

#include "Display.h"
#include "DataFactory.h"

class CShowcase : public CDisplay, public IDataListener
{
public:
	CShowcase(STD_STRING strLocalPath);
	virtual ~CShowcase();

protected:
	virtual void		OnChangeProduct(EChange type, CProduct* pChange) = 0;
	virtual void		GetContent(__out UINT& nCount, __out UINT& nBuffer) = 0;

// public:
// 	virtual void		JoinShowcase(CProduct* pOne) = 0;
// 	virtual void		LeaveShowcase(CProduct* pOne) = 0;

public:
	void			SetDataFactory(CDataFactory* pDF);
	CDataFactory*		GetDataFactory();

private:
	CDataFactory*		m_pDF;
};
